package com.yunji.coupon.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.coupon.doamin.CouponOrderDO;

/**
 * @author : peter-zhu
 * @date : 2024/10/28 20:23
 * @description : TODO
 **/
public interface ICouponOrderDao extends IBaseDao<CouponOrderDO> {
    boolean removeOrderCoupon(Long orderId);

    Long getCidByOid(Long orderId);

    boolean existsByCid(Long couponId);
}
